package com.health.db.service.sm;

import java.util.List;

import com.health.db.model.GoodsData;
import com.health.db.model.GoodsDataExample;
import com.health.db.model.GoodsDataStuffRemark;
import com.health.db.model.GoodsDataUser;
import com.health.db.model.GoodsDataUserExample;
import com.health.db.model.GoodsOrder;
import com.health.db.model.UserAccountLedger;

public interface IGoodsDataService {

	List<GoodsData> selectByExample(GoodsDataExample example);
	
	int insertVIPGoodsList(GoodsOrder  record,String out_trade_no);
	
	GoodsDataUser selectGoodsDataUser(Long recid); 
	
    GoodsDataUser selectSimpleGoodsDataUser(Long recid);
	
	List<GoodsDataUser> selectGoodsDataUserList(GoodsDataUserExample example,Long recid); 

	int updateGoodsDataUser(GoodsDataUser dataUser,List<GoodsDataStuffRemark> list);
	
	int  updateGoodsDataUserFinish(GoodsDataUser dataUser,UserAccountLedger userAccountLedger, int type,GoodsDataUser currdataUser) ;
	
    int updateGoodsDataUserAccept(GoodsDataUser dataUser);

}
